//
//  Tools.swift
//  DouyuTV
//
//  Created by apple on 2017/7/3.
//  Copyright © 2017年 apple. All rights reserved.
//

import UIKit

//Mark :- 设备信息

let GetAppinfo = Bundle.main.infoDictionary

let getAppCurrentVersion = Bundle.main.object(forInfoDictionaryKey: "CFBundleShortVersionString")

let GetSystemVersion = UIDevice.current.systemVersion

//iphone设备
let isIphone = (UIDevice.current.userInterfaceIdiom == UIUserInterfaceIdiom.phone ? true:false)

//ipad 设备
let isIpad = (UIDevice.current.userInterfaceIdiom == UIUserInterfaceIdiom.pad ?true : false)


//Mark:- 尺寸信息

let KscreenWidth = UIScreen.main.bounds.size.width

let KscreenHeight = UIScreen.main.bounds.size.height


let KsearchBarHeiht = 45.0

let KnavgationHeight = 44.0
